package com.yixun.lbx.mapper.information;

import com.yixun.lbx.entity.YxProLegalInfo;
import org.apache.ibatis.annotations.Param;

import java.util.HashMap;
import java.util.List;

public interface LegalInfoMapper {
    int deleteByPrimaryKey(HashMap<String, Object> map);

    int insert(YxProLegalInfo record);

    int insertSelective(HashMap<String, Object> map);

    YxProLegalInfo selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(HashMap<String, Object> map);

    int updateByPrimaryKey(YxProLegalInfo record);

    Integer getCount(HashMap<String, Object> map);

    List<YxProLegalInfo> getListByPage(HashMap<String, Object> map);

    List<YxProLegalInfo> getObjByArgs(YxProLegalInfo legalInfo);

    List<YxProLegalInfo> getSearchListByPage(HashMap<String, String> map);

    int updateIsPublic(@Param("id") String id);

    List<YxProLegalInfo> farm_getListByPage(HashMap<String, Object> map);

    List<YxProLegalInfo> getShowList();
}